home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-0039 / source / dcdpalet.def < prev    next >
Text File  |  1997-04-16  |  1KB  |  31 lines

  1. DEFINITION MODULE DCDPalette;
  2.  
  3. (*---------------------------------------------------------------------*)
  4. (*   Dialogue management for DegasConvert.                             *)
  5. (*                                                                     *)
  6. (*   Functions:                                                        *)
  7. (*       Display and validate input from 'palette' dialogue.           *)
  8. (*                                                                     *)
  9. (*   Version 1.10     August 1987                    L.G.Miller        *)
  10. (*---------------------------------------------------------------------*)
  11.  
  12. FROM DCGlobal           IMPORT PrintPalette,
  13.                                DegasPicture;
  14.  
  15.  
  16. PROCEDURE DoPaletteDialog ( VAR PPalette     : PrintPalette;
  17.                                 PictureRes   : CARDINAL ) : BOOLEAN;
  18.  
  19.  
  20. (*----------------------------------------------------------------------*)
  21. (* This routine seems to require a lot of information. It returns       *)
  22. (* the updated print palette for the current picture.                   *)
  23. (*----------------------------------------------------------------------*)
  24. PROCEDURE DoPixelDialog   ( VAR Picture      : DegasPicture;
  25.                                 MouseX, MouseY,
  26.                                 ScreenRes    : CARDINAL;
  27.                                 VAR PPalette : PrintPalette );
  28.  
  29. END DCDPalette.
  30.  
  31.